﻿using System;
using TalksLog.Entities;

namespace TalksLog.Abstraction.Services
{
    public abstract class AccountServiceBase
    {
        public abstract bool Register(Account account, out string errorMessage);

        public abstract Account Find(string email, string password);

        public abstract bool ChangePassword(int id, string password, string newPassword);

        public abstract bool ChanageName(int id, string newName, out string errorMessage);
    }
}
